#!/bin/bash
read -p "请输入第一个数字" num1
read -p "请输入第二个数字" num2
result=$(($num1+$num2))
echo "两个数字的和是：$result"
echo "----------------------------"
#   >gt greater than
#   <lt less than
if [ $num1 -gt $num2 ];then
	echo "数字1是较大的数字"
else
	echo "数字2是较大的数字"
fi

echo "----------------------------"
echo "----------------------------"
echo "----------------------------"
echo "----------------------------"
case $1 in 
	"hello")
		echo "输入的是hello"
		;;
	"world")
		echo "输入的是world"
		;;
	*)
		echo "输入的既不是hello也不是world"
		;;


esac

exit 0
